package com.senyuyin.diancanspringboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.senyuyin.diancanspringboot.domain.FoodClass;
import com.senyuyin.diancanspringboot.service.FoodClassService;
import com.senyuyin.diancanspringboot.mapper.FoodClassMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author wuyubao
* @description 针对表【food_class】的数据库操作Service实现
* @createDate 2025-01-21 13:08:32
*/
@Service
public class FoodClassServiceImpl extends ServiceImpl<FoodClassMapper, FoodClass>
    implements FoodClassService{

    @Autowired
    private FoodClassMapper foodClassMapper;

    @Override
    public List<FoodClass> getAllFoodClass() {
        return foodClassMapper.getAllClass();
    }
}




